Setting up Initial Project

  • Start Eclipse and create a new workspace. I'll use c:\workspaces\firstexample for my workspace.
  • Close the welcome screen.
  • Create a new C++ project (File:New:C++ Project).
  • Enter a name, I'll use CppUTestHasItsSmoke
  • Under Executable, select Hello World C++ Project
  • Click Finish.
  • Right-click on your project (CppUTestHasItsSmoke), select Run As:Local C++ Application
  • Notice the output in the console:
!!!Hello World!!!